import type { UserInfo } from '@/api/type/interface';
import { defineStore } from 'pinia';

/**
 * 存入参数
 */
export const footerStore = defineStore('footer', {
    state: () => {  // 存放的就是模块的变量
        return {
            current: 0,
        }
    },
    actions: {
        setCurrent(index: number) {
            this.current = index;
        }
    }
});